package com.example.entity;


import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
@TableName("account")
public class AccountDO {

    /**
    *  主键
    */
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     *  姓名
     */
    private String name;
    /**
     *  余额，单位分
     */
    private Long balance;

}
